aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshot...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-12-16 12:40:45 +0000
committerMichael Williamson <mike@zwobble.org>2023-12-16 12:44:22 +0000
commit415533b5b57c2737595ec3ad74ef84a607ab4570 (patch)
treed44dd192fbd6b97680fd4b584ce25e7b15800543 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parente14ffda9239c799636ee54ec6570c79f0f2a642f (diff)
Always store single element for additional closure data
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected4
1 files changed, 2 insertions, 2 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 66dee940..74b812a3 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -41,11 +41,11 @@ Locals:
Instructions:
(
- (alloc-heap (local "closurePointer__User__0") (struct (function-ptr (struct ()))))
+ (alloc-heap (local "closurePointer__User__0") (struct (function-ptr (struct ()) (struct ()))))
(
memory-store
pointer=(local "closurePointer__User__0")
- layout=(struct (function-ptr (struct ())))
+ layout=(struct (function-ptr (struct ()) (struct ())))
offset=(0)
value=(function-ptr "shed__function__User__0")
)